#pragma once

#include "base/core/singleton.h"
#include "Common/ComTypeDefine.h"


//答题公用模块
class AnswerMgr : public ManualSingleton < AnswerMgr >
{
public:
	AnswerMgr();
	virtual ~AnswerMgr();

public:
	bool		Init();
	bool		UnInit();
	bool		GetAnswerListByType(VEC_UINT32& answerIds,uint32_t type);
	bool		IsCorrectAnswer(uint32_t questID,uint32_t answerID);
	bool		Answer(uint32_t questionId, VEC_UINT32& answerIds, VEC_UINT32& rightIds);

};

#define g_MakeAnswerMgr() (AnswerMgr::Instance())
#define g_GetAnswerMgr()  (AnswerMgr::GetInstance())
#define g_DelAnswerMgr()  (AnswerMgr::Destroy())